
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ page import="jakarta.servlet.annotation.WebServlet" %><%--
  Created by IntelliJ IDEA.
  User: Administrator
  Date: 2022/10/7
  Time: 23:14
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>

<html>
  <head>
    <title>form</title>
  </head>
  <body>
  <%
// @WebServlet(value = "/login")
// class login extends HttpServlet{
//   public void doGet(HttpServletRequest request1,HttpServletResponse response1){
//     response1.setContentType("text/html;charset=utf-8");
//     request1.getParameter()
//   }
//   public void doPost(HttpServletRequest request1,HttpServletResponse response1){
//     doGet(request1,response1);
//   }
// }

  %>

  <h2>信息采集</h2>
  <form action="/manage.jsp" method="post">
    <table>
      <tr>
        <td align="center">
          歌名：<input type="text" name="username">
        </td>
      </tr>
      <tr>
        <td align="center">
          歌手：  <input type="checkbox" name="singer" value="那英">那英&nbsp;&nbsp;
          <input type="checkbox" name="singer" value="王菲">王菲
        </td>
      </tr>
      <tr>
        <td>
          <input type="submit" value="提交">
        </td>
      </tr>
    </table>
  </form>
  </body>
</html>
